package com.zhentao.model.common.app.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName app_user_activity
 */
@TableName(value ="app_user_activity")
@Data
public class AppUserActivity implements Serializable {
    /**
     * 活动id
     */
    @TableId(value = "activity_id", type = IdType.AUTO)
    private Integer activityId;

    /**
     * 名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 描述
     */
    @TableField(value = "description")
    private String description;

    /**
     * 开始时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 结束时间
     */
    @TableField(value = "end_time")
    private Date endTime;

    /**
     * 报名开始时间
     */
    @TableField(value = "application_create_time")
    private Date applicationCreateTime;

    /**
     * 报名结束时间
     */
    @TableField(value = "application_end_time")
    private Date applicationEndTime;

    /**
     * 地点
     */
    @TableField(value = "place")
    private String place;

    /**
     * 参与人数上限
     */
    @TableField(value = "upper")
    private Integer upper;

    /**
     * 当前参与人数
     */
    @TableField(value = "current")
    private Integer current;

    /**
     * 状态（0结束 1 正常 2人数已满）
     */
    @TableField(value = "activity_state")
    private Integer activityState;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}